How to view the path of a Python search package:
The path to the Python search package is stored under Sys.path
View Method:
Import Sys
Sys.path
How to temporarily add a Python search package path:
Method 1: (enter Python first) import
Python has a variety of packages, so what rules does the Python interpreter use to look for packages?1. Python will first look for a built-in (BUILT_IN) package2. Then search in order according to the path specified in the PYTHONPATH environment
Main UDP Packets:Cable collection package:Content: F7 2f 10 00 50 58 33 57 15 00 00 00 00 00 00Function: sends a request to the host. Ask someone "What host are you creating ?"When you enable Warcraft to enter the LAN, the package will be broadcast
The differences between yum and apt-get are generally divided into two main categories: 1. redHat series: Redhat, Centos, Fedora, etc. 2. debian series: Debian, Ubuntu, and other RedHat Series 1 Common installation package format rpm packages, the
Apt-* view, install, delete, and update packages. 1. apt-cachesearch: SearchRepositoryUsingPackageNameapt-cachesearch ^ package name $ search for the package name in the Repo, and search for Apache2 as an example $ apt-cachesearch ^ apache
Apt-*
Note: graphic interface methods (such as Add/Remove... and Synaptic Package manageer) is relatively simple, so here we mainly summarize the methods for installing, detaching, and deleting software packages on the terminal through the command line
Using a Linux system is always free of contact with package management tools. For example, Debian/Ubuntu apt, opensuse zypp, fedora yum, mandriva urpmi, slackware slackpkg, archlinux pacman, Gentoo emerge, foresight conary, pardus pisi, and so on.
Note: graphic interface methods (such as Add/Remove... and Synaptic Package manageer) is relatively simple, so here we mainly summarize the methods for installing, detaching, and deleting software packages on the terminal through the command line
Detailed description of Ubuntu command parameters apt-cachesearchpackage search package apt-cacheshowpackage obtains information about the package, such as description, size, and version sudoapt-getinstallpackage installation package
Apt-cachesearchpackage search package apt-cacheshowpackage obtains information about the package, such as description, size, and version sudoapt-getinstallpackage installation package sudoapt-geti
Apt-cache search package
Apt-cache show package
Linux package Management Quick query table-general Linux technology-Linux technology and application information. The following is a detailed description. Using a Linux system is always free of contact with package management tools. For example,
Note: graphic interface methods (such as Add/Remove... and Synaptic Package manageer) is relatively simple, so here we mainly summarize the methods for installing, detaching, and deleting software packages on the terminal through the command line
Using a Linux system is always free of contact with package management tools. For example, Debian/Ubuntu apt, openSUSE zypp, Fedora yum, Mandriva urpmi, Slackware slackpkg, Archlinux pacman, Gentoo emerge, Foresight conary, Pardus pisi, and so on.
Dpkg and apt are two commonly used package management mechanisms under Debian, and the following is a detailed analysis of the differences and uses.
Dpkg and apt Introduction
DPKG is used to install the. deb file, but does not resolve the module
Refrence:pip1. InstallFor Unix:$ sudo apt-get Install Python-pipNote:you could set mirror of Deiban package FTP server to mirrors.163.com Debian Apt-get sourcelist (mirrors)2. Basic commands
Help command
$pip--help
Install
I have sorted out detailed descriptions of the apt-get command in the UbuntuLinux operating system and shared it with you. Common APT command parameters apt-cachesearchpackage search package apt-cacheshowpackage get package information, such as
Debian APT and DPKG details-Linux Release Technology-Debian information. The following is a detailed description. I. Use of APT (Ubuntu Linux package management tool I)
Apt-cache search # ------ (package search package)
Apt-cache show # ------
Debian upgrade management-Linux Release Technology-Debian information. See the following for details. The following describes how to use Debian upgrade.
First, let's talk about my Debian version. Please note that each version may be slightly
Linux and Unix2012-12-06
17: 40 19 people read comments (0) collect reports
1. First, you must configure the network.There are a lot of interesting introductions on the Internet. Most of them need to remove the NetworkManager.This is mainly because
Sudo: sudo is a Linux system management command. It is a tool that allows the system administrator to allow common users to execute some or all of the root commands, such as halt, reboot, and Su. This not only reduces the login and management time
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.